<?php

//单行注释
echo 'hello world';
echo "<pre>";
//定义变量
$date = '2008-1-2';
$ch = '汉子';
var_dump($date,$ch);
var_dump($_GET);
echo "</pre>";

$a = 1;

function Test(){
    global $a;
    echo $a;
}

Test();
$boo = false;
$bool2 = (bool) 1;
$int1 = 123;
$fl1 = 12.3;
$str1 = 'xbmz';

var_dump($boo,$bool2,$int1,$fl1,$str1);
?>